package com.solution.common.utils.wx;

import java.util.HashMap;
import java.util.Map;

import com.github.wxpay.sdk.WXPayConstants;
import com.github.wxpay.sdk.WXPayUtil;

public class ValidServerCert {
	public static void main(String[] args) throws Exception {
		Map<String, String> payMap = new HashMap<String, String>();
		payMap.put("mch_id", "1442435602");
		payMap.put("nonce_str", "5K8264ILTKCH16CQ2502SI8ZNMTM67VS");
		
		System.out.println(WXPayUtil.generateSignature(payMap, "b90a1be02329d5cbddee9f432f2d765d", WXPayConstants.SignType.MD5));
		
		//0AB4501A80A51D5851D80D45A30CE568
		
		
	}
}
